import jsonpUtil from '../util/jsonpUtil'


const mce = "https://mce.mogucdn.com/jsonp/";
const mvm = "https://list.mogujie.com/search";
const mogu = "https://mce.mogujie.com/jsonp/";
const mkey = "https://list.mogujie.com/module/mget";
const comm = " https://rate.mogujie.com/h5/rate/jsonp/x6.rate.ratelist/v1";



export default {
    loadDataByPids (params){
        let url = mce+"multiget/3";
        return jsonpUtil.request(url,params)
    },
    loadDataByLike (params){
        let url = mvm ;
        return jsonpUtil.request(url,params)
    },
    loadDataByTypeLeft (params){
        let url = mce+"multiget/3";
        return jsonpUtil.request(url,params)
    },
    loadDataByTypeRight (params){
        let url = mogu+"makeup/3";
        return jsonpUtil.request(url,params)
    },
    LoadDataBySearchHot (params){
        let url = mkey
        return jsonpUtil.request(url,params)
    },
    LoadDataByComment  (params){
        let url = comm
        return jsonpUtil.request(url,params)
    },
   
   
}

